 //to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// 日期选择器宽度问题(加.datePicker)
.el-date-editor.el-input.datePicker{
  width: 130px;
}
.el-date-editor--daterange.el-input__inner.datePicker{
  width: 220px;
}

// 表格表头居中
.el-table .el-table__cell{
  text-align: center;
}

// 表格尾部页数slot样式
.el-pagination{
  slot{
    span{
      font-size: 13px;
      height: 28px;
      line-height: 28px;
      vertical-align: top;
      font-weight: 400;
      color: #606266;
    }
  }
}

/**
* radio、button等样式
*/
.el-table__body td.el-table__cell{
  text-align: center !important;
}
.el-date-editor.el-input.datePicker{
  width: 160px !important;
}
.el-button{
  background: #666666;
  color: #fff;
}
.el-button:hover{
  background: #333365;
  color: #fff;
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner{
  background: #ffffff;
  color: #330365;
  border-color: transparent;
  box-shadow: 0 0 0 0 #000;
}
.el-radio-button:first-child{
  border-radius: 0px;
  // box-shadow: 0px 2px 2px #000;
}
.el-radio-button.is-active{
  border-bottom: 3px solid black;
}
.el-radio-button:last-child .el-radio-button__inner{
  border-radius: 0px;
}
.el-radio-button__inner{
  background: #FFF;
  color: #330365;
  border-color: transparent;
}
.el-radio-button__inner:hover{
  background: #ffffff;
  color: #330365;
  box-shadow: 0px 2px 2px #000;
}
.el-radio-button {
  margin-right:20px;
}
.el-pagination.is-background .el-pager li:not(.disabled).active{
  background-color: #333365;
}
.el-pagination button, .el-pagination span:not([class*=suffix]){
  color: #000;
  font-weight: normal;
}
.el-radio-group{
  margin-left: 30px;
}

/**
*合计表格样式
*/
.sumTable{
  .el-table__cell{
    background-color: rgb(242, 242, 243);
    &.text{
      background-color: #fff;
    }
  }
}